package cn.bdqn.biz.impl;

import cn.bdqn.biz.IRoleBiz;
import cn.bdqn.dao.RoleMapper;
import cn.bdqn.pojo.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RoleBiz implements IRoleBiz {
    @Autowired
    private RoleMapper mapper;
    @Override
    public List<Role> roleList() {

        return mapper.findRoleList();
    }

}
